home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1916 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: news.doit.wisc.edu!news
  2. From: innuendo@yar.cs.wisc.edu (Jonathan Gapen)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Datatype write method?
  5. Date: 25 Jan 1996 01:55:44 GMT
  6. Organization: esCom Amiga Madison Enthusiast's Organisation
  7. Message-ID: <4e6nv0$2gmc@news.doit.wisc.edu>
  8. References: <4e0gm0$jt@serpens.rhein.de> <1379.6596T851T762@Redrobe.demon.co.uk>
  9. NNTP-Posting-Host: f180-098.net.wisc.edu
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=iso-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-NewsSoftware: GRn 2.1 Feb 19, 1994
  14.  
  15.  
  16. In article <1379.6596T851T762@Redrobe.demon.co.uk> Mike@Redrobe.demon.co.uk (Mike) writes:
  17. > >>No chance to make a subclass (e.g. WAVE datatype) save its data in WAVE
  18. > >>format, sigh.
  19. > >For what reason ?
  20. > for use on other computers?
  21. > haven't seen many 8svx players on Windoze...
  22.  
  23.    If you used the wav.datatype to load a WAVE file, why do you need to save
  24. in WAVE format?!  Seems pretty silly to me.
  25.    Actually, I'd speculate that this is the reason why no DataType subclasses
  26. have implemented a write method.  Why save in the same format you just
  27. loaded?  With most classes, it's a wasted effort, and with certain classes
  28. like the jfif.datatype, you'd end up with an 8 bit image re-encoded into a
  29. JPEG file, losing a lot of quality.
  30.    Of course, these days when we have programs like Voodoo, it may be useful
  31. to save into the original format, because the data came in via e-mail, and we
  32. would like to save it in its native format.  And further, if somebody updates
  33. the datatypes.library to allow programs to save data into another like format,
  34. a full DTM_WRITE method would be very handy.
  35.  
  36. -- 
  37. Jonathan Gapen (innuendo@yar.cs.wisc.edu)
  38. Bread in, toast out. How does it DO that?
  39.